<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html40/strict.dtd">
<!-- Created from PDF via Acrobat SaveAsXML -->
<!-- Mapping table version: 28-February-2003 -->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<STYLE type="text/css">
DIV[class="Sect"] {
 text-align:left;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:0px;
 text-indent:0px;
 direction:ltr
}
P {
 text-align:left;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:0px;
 text-indent:0px;
 direction:ltr
}
SPAN {
 font-family:'Arial Black','Arial Black',sans-serif;
 font-size:24pt;
 font-style:normal;
 font-weight:normal
}
TABLE {
 border-width:thin;
 border-collapse:collapse;
 padding:3px;
 text-align:left;
 vertical-align:top;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:434px;
 margin-left:133px;
 direction:ltr;
 width:auto;
 height:auto;
 display:table;
 float:none
}
TBODY {
 vertical-align:top;
 height:auto
}
TR {
 vertical-align:top;
 height:auto
}
TD { 
 text-align:left;
 vertical-align:top;
 width:auto
}
DL[class="TOC"] {
 text-align:left;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:0px;
 text-indent:0px;
 direction:ltr
}
DL {
 text-align:left;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:0px;
 text-indent:0px;
 direction:ltr
}
LI {
 list-style-type:none;
 text-align:left;
 margin-bottom:0px;
 margin-top:0px;
 margin-right:0px;
 text-indent:0px;
 direction:ltr
}
DD {
 text-align:justify;
 margin-bottom:17px;
 margin-top:17px;
 margin-right:0px;
 margin-left:48px;
 text-indent:-47px;
 direction:ltr
}
A {
 font-style:normal;
 font-weight:normal
}
</STYLE>
<META
 name="dc.creator"
 content="SUN" >
<META
 name="dc.title"
 content="AIP 电子签名系统" >
<META
 name="dc.date"
 content="2008-05-20T09:48:52+08:00" >
<META
 name="dc.date.modified"
 content="2008-05-20T09:49:49+08:00" >
<META
 name="generator"
 content="Adobe Acrobat Exchange-Pro 7.0" >
</HEAD>
<BODY bgcolor=white text=black link=blue vlink=purple alink=fushia >
<HR>
<UL>
<LI>
<A href="#LinkTarget_1566"> 一、工作原理 </A>
<UL>
<LI>
<A href="#LinkTarget_1568">1.1 开发流程 </A>
</LI>
<LI>
<A href="#LinkTarget_1548">1.2 WEB页面调用控件: </A>
</LI>
<LI>
<A href="#LinkTarget_1510"> 二、接口说明 </A>
<UL>
<LI>
<A href="#LinkTarget_1511">2.1 接口 </A>
<UL>
<LI>
<A href="#LinkTarget_1512">2.1.1 AboutBox </A>
</LI>
<LI>
<A href="#LinkTarget_1519">2.1.2 AcceptAllRevisions </A>
</LI>
<LI>
<A href="#LinkTarget_1527">2.1.3 AddMenu </A>
</LI>
<LI>
<A href="#LinkTarget_1483">2.1.4 BookMarkOpt </A>
</LI>
<LI>
<A href="#LinkTarget_1490">2.1.5 CloseDoc </A>
</LI>
<LI>
<A href="#LinkTarget_1469">2.1.6 ConvertToAip </A>
</LI>
<LI>
<A href="#LinkTarget_1437">2.1.7 CreateApp </A>
</LI>
<LI>
<A href="#LinkTarget_1445">2.1.8 DelLocalFile </A>
</LI>
<LI>
<A href="#LinkTarget_1455">2.1.9 ExcProtectSharing </A>
</LI>
<LI>
<A href="#LinkTarget_1422">2.1.10 ExcUnprotectSharing </A>
</LI>
<LI>
<A href="#LinkTarget_1414">2.1.11 FtpConnect </A>
</LI>
<LI>
<A href="#LinkTarget_1406">2.1.12 FtpDisConnect </A>
</LI>
<LI>
<A href="#LinkTarget_1398">2.1.13 FtpGetFile </A>
</LI>
<LI>
<A href="#LinkTarget_1363">2.1.14 GetDocumentObject </A>
</LI>
<LI>
<A href="#LinkTarget_1326">2.1.15 GetFieldValue </A>
</LI>
<LI>
<A href="#LinkTarget_1338">2.1.16 GetTempFilePath </A>
</LI>
<LI>
<A href="#LinkTarget_1345">2.1.17 GetRevCount </A>
</LI>
<LI>
<A href="#LinkTarget_1313">2.1.18 GetRevInfo </A>
</LI>
<LI>
<A href="#LinkTarget_1305">2.1.19 GetBookMarkCount </A>
</LI>
<LI>
<A href="#LinkTarget_1298">2.1.20 GetBookMarkInfo </A>
</LI>
<LI>
<A href="#LinkTarget_1290">2.1.21 HideMenuItem  </A>
</LI>
<LI>
<A href="#LinkTarget_1256">2.1.22 HttpInit </A>
</LI>
<LI>
<A href="#LinkTarget_1265">2.1.23 HttpAddPostFile </A>
</LI>
<LI>
<A href="#LinkTarget_1273">2.1.24 HttpAddPostBuffer </A>
</LI>
<LI>
<A href="#LinkTarget_1249">2.1.25 HttpAddPostValue </A>
</LI>
<LI>
<A href="#LinkTarget_1212">2.1.26 HttpAddPostString </A>
</LI>
<LI>
<A href="#LinkTarget_1225">2.1.27 HttpAddPostCurrFile </A>
</LI>
<LI>
<A href="#LinkTarget_1234">2.1.28 HttpAddPostCurrFile2 </A>
</LI>
<LI>
<A href="#LinkTarget_1197">2.1.29 HttpPost </A>
</LI>
<LI>
<A href="#LinkTarget_1169">2.1.30 InsertFile </A>
</LI>
<LI>
<A href="#LinkTarget_1151">2.1.31 IsOpened </A>
</LI>
<LI>
<A href="#LinkTarget_1140">2.1.32 IsSaved </A>
</LI>
<LI>
<A href="#LinkTarget_1133">2.1.33 InsertFile </A>
</LI>
<LI>
<A href="#LinkTarget_1114">2.1.34 LoadOriginalFile </A>
</LI>
<LI>
<A href="#LinkTarget_1050">2.1.35 OpenFileDlg </A>
</LI>
<LI>
<A href="#LinkTarget_1046">2.1.36 ProtectDoc </A>
</LI>
<LI>
<A href="#LinkTarget_1031">2.1.37 PrintDoc </A>
</LI>
<LI>
<A href="#LinkTarget_1021">2.1.38 PutSaved </A>
</LI>
<LI>
<A href="#LinkTarget_1011">2.1.39 Save </A>
</LI>
<LI>
<A href="#LinkTarget_1000">2.1.40 SaveTo </A>
</LI>
<LI>
<A href="#LinkTarget_983">2.1.41 SaveAs  </A>
</LI>
<LI>
<A href="#LinkTarget_959">2.1.42 SetFieldValue </A>
</LI>
<LI>
<A href="#LinkTarget_945">2.1.43 SetTrackRevisions </A>
</LI>
<LI>
<A href="#LinkTarget_901">2.1.44 ShowRevisions </A>
</LI>
<LI>
<A href="#LinkTarget_911">2.1.45 SetCurrUserName  </A>
</LI>
<LI>
<A href="#LinkTarget_917">2.1.46 SetToolBarButton2 </A>
</LI>
<LI>
<A href="#LinkTarget_864">2.1.47 SetCurrTime </A>
</LI>
<LI>
<A href="#LinkTarget_836">2.1.48 SetKeyCtrl </A>
</LI>
<LI>
<A href="#LinkTarget_818">2.1.49 SetSecurity </A>
</LI>
<LI>
<A href="#LinkTarget_791">2.1.50 ShowDialog </A>
</LI>
<LI>
<A href="#LinkTarget_800">2.1.51 SetValue </A>
</LI>
<LI>
<A href="#LinkTarget_745">2.1.52 SetDocVariable </A>
</LI>
<LI>
<A href="#LinkTarget_735">2.1.53 long UnProtectDoc(BSTR strPwd) </A>
</LI>
<LI>
<A href="#LinkTarget_727">2.1.54 ZipFile </A>
</LI>
</UL>
</LI>
<LI>
<A href="#LinkTarget_726">2.2  属性 </A>
<UL>
<LI>
<A href="#LinkTarget_710">2.2.1 DocType </A>
</LI>
<LI>
<A href="#LinkTarget_705">2.2.2  Version </A>
</LI>
<LI>
<A href="#LinkTarget_699">2.2.3  AppVersion </A>
</LI>
<LI>
<A href="#LinkTarget_689">2.2.4  OptionFlag </A>
</LI>
</UL>
</LI>
<LI>
<A href="#LinkTarget_674">2.3 事件 </A>
<UL>
<LI>
<A href="#LinkTarget_675">2.3.1 NotifyCtrlReady </A>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI>
<A href="#LinkTarget_637">三、ASP例子说明 </A>
<UL>
<LI>
<A href="#LinkTarget_638">3.1 Access数据库结构 </A>
</LI>
<LI>
<A href="#LinkTarget_650">3.2 演示程序主要页面说明 </A>
</LI>
<LI>
<A href="#LinkTarget_657">3.3 开发必读 </A>
</LI>
</UL>
</LI>
<LI>
<A href="#LinkTarget_601">四、FAQ </A>
<UL>
<LI>
<A href="#LinkTarget_602">4.1 如何把文件直接上传到服务器 </A>
</LI>
</UL>
</LI>
<LI>
<A href="#LinkTarget_597"> 五、附录 </A>
<UL>
<LI>
<A href="#LinkTarget_598">5.1 WebOffice文件Http上传原理</A>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</HR>
<DIV class="Sect">
<P>
<SPAN style="color:#000000"
>  </SPAN
></P>
<P>
<SPAN style="color:#000000"
> </SPAN
></P>
<P>
<SPAN style="color:#000000"
> </SPAN
></P>
<P>
<SPAN style="color:#000000"
>WebOffice </SPAN
><SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
>文档控件 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
>          </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
>开发文档 </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P style="text-indent:192px">
<SPAN style="font-family:'sans-serif', 'SimHei'; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-align:center">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:13.9pt; color:#000000"
>北京点聚信息技术有限公司</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:13.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="text-align:center">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:13.9pt; font-weight:bold; color:#000000"
>2008/05/08 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-align:justify; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>北京点聚信息技术有限公司（以下简称“点聚”）尽最大努力使这篇文章中的内容完善且正确。点聚对于由这篇文档导致的任何形式的直接或间接损失不负有责任。这篇文章的内容会跟随产品的升级而有所变化。  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>标记</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<TABLE>
<TBODY>
<TR>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>名称: </SPAN
></P>
</TD>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>WebOffice开发文档 </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>状态: </SPAN
></P>
</TD>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>发布 </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>部门: </SPAN
></P>
</TD>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>研发部 </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>文档ID: </SPAN
></P>
</TD>
<TD style="background-color:#FFFFFF">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>WebOffice-01-001 </SPAN
></P>
</TD>
</TR>
</TBODY>
</TABLE>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>更新记录</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<TABLE style="margin-right:138px; margin-left:131px">
<TBODY>
<TR>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>版本 </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>时间 </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>备注 </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>5.0.8.2</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2008-05</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>设置了对文档安全的控制 </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>清除了对Word模板的修改 </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>5.0.8.0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2008-03</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>支持自定义的菜单，并跟Javascript绑定</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
</TR>
<TR>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>5.0.1.4</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2007-10</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
</TD>
<TD style="border-style:solid; border-color:#C0C0C0; border-width:1px">
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>可以设置文档打开密码和可写密码,支持Word、Excel。</SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>设置Word中的变量，可以更新关联的域。 </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>扩展了这个接口，支持Http下的相对路径 </SPAN
></P>
</TD>
</TR>
</TBODY>
</TABLE>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-align:center">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>软件开发协议 </SPAN
></P>
<P style="text-align:center">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>北京点聚信息技术有限公司（以下简称点聚）的所有产品，包括但不限于：开发工具包，磁盘，光盘，硬件设备和文档，以及未来的所有定单都受本协议的制约。如果您不愿接受这些条款，请在收到后的7天内将开发工具包寄回点聚，预付邮资和保险。我们会把货款退还给您，但要扣除运费和适当的手续费。 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>1. 许可使用  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>您可以将本软件合并、连接到您的计算机程序中，但其目的只是如开发指南中描述的那样保护该程序。您可以以存档为目的复制合理数量的拷贝。 </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2. 禁止使用  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>除在条款1中特别允许的之外，不得复制、反向工程、反汇编、反编译、修改、增加、改进软件、硬件和产品的其它部分。禁止对软件和产品的任何部分进行反向工程，或企图推导软件的源代码。禁止使用产品中的磁性或光学介质来传递、存储非本产品的原始程序或由点聚提供的产品升级的任何数据。禁止将软件放在服务器上传播。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>3. 有限担保  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>点聚保证在自产品交给您之日起的12个月内，在正常的使用情况下，硬件和软件存储介质没有重大的工艺和材料上的缺陷。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>4. 修理限度  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>当根据本协议提出索赔时，点聚唯一的责任就是根据点聚的选择，免费进行替换或维修。点聚对更换后的任何产品部件都享有所有权。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>保修索赔单必须在担保期内写好，在发生故障14天内连同令人信服的证据交给点聚。当将产品返还给点聚或点聚的授权代理商时，须预付运费和保险。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>除了在本协议中保证的担保之外，点聚不再提供特别的或隐含的担保，也不再对本协议中所描述的产品负责，包括它们的质量，性能和对某一特定目的的适应性。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>5. 责任限度  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>不管因为什么原因，不管是因合同中的规定还是由于刑事的原因，包括疏忽的原因，而使您及任何一方受到了损失，由我方产品所造成的损失或该产品是起诉的原因或与起诉有间接关系，点聚对您及任何一方所承担的全部责任不超出您购买该产品所支付的货款。在任何情况下，点聚对于由于您不履行责任所导致的损失，或对于数据、利润、储蓄或其它的后续的和偶然的损失，即使点聚被建议有这种损失的可能性，或您根据第3方的索赔而提出的任何索赔均不负责任。  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>6. 协议终止  </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>当您不能遵守本协议所规定的条款时，将终止您的许可和本协议。但条款2, 3，4，5将继续有效。 </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-align:center">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>目</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-weight:bold; color:#000000"
>    </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>录</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<DIV class="TOC" >
<DT>
<A href="#LinkTarget_1566">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>一、工作原理</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>................................................................................................................7</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_1566">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>1.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>开发流程</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>......................................................................................................7</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_1548">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>1.2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>WEB页面调用控件:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>.......................................................................................8</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_1510">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>二、接口说明</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>................................................................................................................9</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_1510">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>接口</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>.............................................................................................................9</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_1510">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>AboutBox</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................................9 </SPAN
></A>
<DT>
<A href="#LinkTarget_1510">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>AcceptAllRevisions</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................9 </SPAN
></A>
<DT>
<A href="#LinkTarget_1510">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.3</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>AddMenu</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.............................................................................................................9 </SPAN
></A>
<DT>
<A href="#LinkTarget_1477">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.4</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>BookMarkOpt</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................................10 </SPAN
></A>
<DT>
<A href="#LinkTarget_1477">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.5</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>CloseDoc</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................10 </SPAN
></A>
<DT>
<A href="#LinkTarget_1477">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.6</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ConvertToAip</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.................................................................................................10 </SPAN
></A>
<DT>
<A href="#LinkTarget_1429">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.7</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>CreateApp</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................................11 </SPAN
></A>
<DT>
<A href="#LinkTarget_1429">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.8</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>DelLocalFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.................................................................................................11 </SPAN
></A>
<DT>
<A href="#LinkTarget_1429">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.9</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ExcProtectSharing</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................11 </SPAN
></A>
<DT>
<A href="#LinkTarget_1422">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.10</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ExcUnprotectSharing</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................12 </SPAN
></A>
<DT>
<A href="#LinkTarget_1422">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.11</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>FtpConnect</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................12 </SPAN
></A>
<DT>
<A href="#LinkTarget_1422">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.12</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>FtpDisConnect</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...............................................................................................12 </SPAN
></A>
<DT>
<A href="#LinkTarget_1422">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.13</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>FtpGetFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................12 </SPAN
></A>
<DT>
<A href="#LinkTarget_1363">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.14</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetDocumentObject</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................13 </SPAN
></A>
<DT>
<A href="#LinkTarget_1321">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.15</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetFieldValue</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...............................................................................................14 </SPAN
></A>
<DT>
<A href="#LinkTarget_1321">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.16</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetTempFilePath</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................14 </SPAN
></A>
<DT>
<A href="#LinkTarget_1321">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.17</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetRevCount</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................................14 </SPAN
></A>
<DT>
<A href="#LinkTarget_1313">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.18</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetRevInfo</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................15 </SPAN
></A>
<DT>
<A href="#LinkTarget_1313">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.19</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetBookMarkCount</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................15 </SPAN
></A>
<DT>
<A href="#LinkTarget_1313">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.20</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>GetBookMarkInfo</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................15 </SPAN
></A>
<DT>
<A href="#LinkTarget_1313">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.21</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HideMenuItem</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.................................................................................................15 </SPAN
></A>
<DT>
<A href="#LinkTarget_1256">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.22</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpInit</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................16 </SPAN
></A>
<DT>
<A href="#LinkTarget_1256">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.23</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................16 </SPAN
></A>
<DT>
<A href="#LinkTarget_1256">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.24</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostBuffer</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................16 </SPAN
></A>
<DT>
<A href="#LinkTarget_1256">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.25</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostValue</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................16 </SPAN
></A>
<DT>
<A href="#LinkTarget_1212">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.26</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostString</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................17 </SPAN
></A>
<DT>
<A href="#LinkTarget_1212">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.27</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostCurrFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................17 </SPAN
></A>
<DT>
<A href="#LinkTarget_1212">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.28</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpAddPostCurrFile2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.................................................................................17 </SPAN
></A>
<DT>
<A href="#LinkTarget_1197">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.29</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>HttpPost</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................18 </SPAN
></A>
<DT>
<A href="#LinkTarget_1197">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.30</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>InsertFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................18 </SPAN
></A>
<DT>
<A href="#LinkTarget_1192">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.31</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>IsOpened</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................19 </SPAN
></A>
<DT>
<A href="#LinkTarget_1192">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.32</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>IsSaved</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................................19 </SPAN
></A>
<DT>
<A href="#LinkTarget_1192">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.33</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>InsertFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................19 </SPAN
></A>
<DT>
<A href="#LinkTarget_1089">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.34</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>LoadOriginalFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................20 </SPAN
></A>
<DT>
<A href="#LinkTarget_1077">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.35</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>OpenFileDlg</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................................21 </SPAN
></A>
<DT>
<A href="#LinkTarget_1077">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.36</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ProtectDoc</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................21 </SPAN
></A>
<DT>
<A href="#LinkTarget_1044">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.37</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>PrintDoc</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................22 </SPAN
></A>
<DT>
<A href="#LinkTarget_1044">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.38</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>PutSaved</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................22 </SPAN
></A>
<DT>
<A href="#LinkTarget_1044">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.39</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>Save</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.................................................................................................................22 </SPAN
></A>
<DT>
<A href="#LinkTarget_1000">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.40</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SaveTo</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.............................................................................................................23 </SPAN
></A>
<DT>
<A href="#LinkTarget_1000">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.41</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SaveAs</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.............................................................................................................23 </SPAN
></A>
<DT>
<A href="#LinkTarget_1000">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.42</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetFieldValue</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...............................................................................................23 </SPAN
></A>
<DT>
<A href="#LinkTarget_963">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.43</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetTrackRevisions</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................24 </SPAN
></A>
<DT>
<A href="#LinkTarget_900">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.44</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ShowRevisions</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...............................................................................................25 </SPAN
></A>
<DT>
<A href="#LinkTarget_900">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.45</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetCurrUserName</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................25 </SPAN
></A>
<DT>
<A href="#LinkTarget_900">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.46</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetToolBarButton2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.......................................................................................25 </SPAN
></A>
<DT>
<A href="#LinkTarget_872">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.47</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetCurrTime</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................................26 </SPAN
></A>
<DT>
<A href="#LinkTarget_836">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.48</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetKeyCtrl</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................27 </SPAN
></A>
<DT>
<A href="#LinkTarget_836">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.49</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetSecurity</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...................................................................................................27 </SPAN
></A>
<DT>
<A href="#LinkTarget_777">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.50</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ShowDialog</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................28 </SPAN
></A>
<DT>
<A href="#LinkTarget_777">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.51</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetValue</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.........................................................................................................28 </SPAN
></A>
<DT>
<A href="#LinkTarget_776">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.52</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>SetDocVariable</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.............................................................................................29 </SPAN
></A>
<DT>
<A href="#LinkTarget_776">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.53</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>long UnProtectDoc(BSTR strPwd)</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.............................................................29 </SPAN
></A>
<DT>
<A href="#LinkTarget_727">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.1.54</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>ZipFile</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................................30 </SPAN
></A>
<DT>
<A href="#LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2.2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>属性</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>...........................................................................................................31</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.2.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>DocType</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................................31 </SPAN
></A>
<DT>
<A href="#LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.2.2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>Version</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................................31 </SPAN
></A>
<DT>
<A href="#LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.2.3</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>AppVersion</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................31 </SPAN
></A>
<DT>
<A href="#LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.2.4</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>OptionFlag</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>.....................................................................................................31 </SPAN
></A>
<DT>
<A href="#LinkTarget_672">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2.3</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>事件</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>...........................................................................................................32</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_672">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>2.3.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>NotifyCtrlReady</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
>...........................................................................................32 </SPAN
></A>
<DT>
<A href="#LinkTarget_636">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>三、ASP例子说明</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>........................................................................................................33</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_636">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>3.1</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>Access数据库结构</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>.....................................................................................33</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_636">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>3.2</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>演示程序主要页面说明</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>..............................................................................33</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_636">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>3.3</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>开发必读</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>....................................................................................................33</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_601">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>四、FAQ</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>.......................................................................................................................34</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_601">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>4.1 如何把文件直接上传到服务器</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>......................................................................34</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_597">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>五、附录</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>.....................................................................................................................35</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<DT>
<A href="#LinkTarget_597">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>5.1 WebOffice文件Http上传原理</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>........................................................................35</SPAN
><SPAN style="font-family:'serif', 'Times New Roman', serif; font-size:10.5pt; color:#000000"
> </SPAN
></A>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; color:#000000"
>  </SPAN
></P>
<P ID="LinkTarget_1566" style="margin-bottom:21px; margin-top:23px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:22pt; color:#000000"
>一、工作原理 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>点聚WebOffice是基于客户端的ocx控件，它的功能是将Office文档（Word、Excel、WPS）嵌入到浏览器中，并调用Office中各种接口，完成文档编辑工作，然后使用控件的Http接口模拟表单提交，发送到数据处理页面（此文档举例为saveDoc.asp页，代码见演示文件），完成文档的存档工作。 </SPAN
></P>
<dl>
<DD ID="LinkTarget_1568">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>1.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:16pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>开发流程 </SPAN
></DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  装载控件   &lt;object&gt;...&lt;/ object &gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  触发初始化方法 </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>&lt;SCRIPT LANGUAGE=javascript FOR=WebOffice1 EVENT=NotifyCtrlReady&gt; </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>&lt;!-- </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> WebOffice1_NotifyCtrlReady()    </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>//--&gt; </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>&lt;/SCRIPT&gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  执行初始化方法，打开新文档或装载已经存在的文档 </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>function WebOffice1_NotifyCtrlReady() { </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>  document.all.WebOffice1.LoadOriginalFile(&quot;…&quot;, &quot;…&quot;); </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>} </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  根据当前步骤，来决定是否进入修订状态，如果是修订状态，最好设置当前的用户名 </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>function WebOffice1_NotifyCtrlReady() { </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>  document.all.WebOffice1.LoadOriginalFile(&quot;…&quot;, &quot;…&quot;); </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>  document.all.WebOffice1.SetCurrUserName(&quot;张三&quot;);  </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>  document.all.WebOffice1.SetTrackRevisions(1);  </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>} </SPAN
></P>
<P style="text-indent:15px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>├  填写表单元素，编辑Office文档 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  执行Http上传接口保存表单元素和Office文档     </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>//保存文档之前，如果需要接受修订，需要调用 </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>document.all.WebOffice1.SetTrackRevisions(4);  </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>//通过Http接口上传 </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>document.all.WebOffice1.HttpInit();     </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>document.all.WebOffice1.HttpAddPostString(&quot;…&quot;, &quot;…&quot;); </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>document.all.WebOffice1.HttpAddPostCurrFile(&quot;…&quot;, &quot;…&quot;);   </SPAN
></P>
<P style="margin-left:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>document.all.WebOffice1.HttpPost(&quot;…&quot;) </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  saveDoc.asp获取表单数据和Office进行数据库操作，并返回操作是否正确。 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  ├  根据saveDoc.asp返回值进行相应操作。  </SPAN
></P>
<dl>
<DD ID="LinkTarget_1548">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>1.2</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:16pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>WEB页面调用控件: </SPAN
></DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> &lt;OBJECT id=WebOffice1 height=520 width=&quot;100%&quot; style=&quot;LEFT: 0px; TOP: 0px&quot;  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>classid=&quot;clsid:E77E049B-23FC-4DB8-B756-60529A35FAD5&quot;  codebase=WebOffice.ocx#Version=3,0,0,0&gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> &lt;PARAM NAME=&quot;_Version&quot; VALUE=&quot;65536&quot;&gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> &lt;PARAM NAME=&quot;_ExtentX&quot; VALUE=&quot;2646&quot;&gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> &lt;PARAM NAME=&quot;_ExtentY&quot; VALUE=&quot;1323&quot;&gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
> &lt;PARAM NAME=&quot;_StockProps&quot; VALUE=&quot;0&quot;&gt;&lt;/OBJECT&gt;  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>主要参数说明： </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>id   控件在网页的别名，可以通过别名调用控件的方法、属性 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>width  控件的宽度，可以使用绝对大小，如width=&quot;100px&quot;。 </SPAN
></P>
<P style="margin-left:83px; text-indent:-82px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>height  控件的高度 </SPAN
></P>
<P style="margin-left:83px; text-indent:-82px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>codebase  设置控件自动下载的路径，用户如果没有安装控件，系统会自动访问codebase的路径下载控件；“#</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>Version</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>”后的是控件的版本，如果用户当前的软件版本低于“#</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#000000"
>Version</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>”后面的版本，系统也会自动下载最新的控件 </SPAN
></P>
<P style="margin-left:83px; text-indent:-82px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:83px; text-indent:-82px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>注意： </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>如果控件的width 和height属性使用％表示，则要明确指明它所在的容器的大小，如把控件放到表格&lt;td&gt;内，则要明确指明表格&lt;td&gt;的width和height的绝对值。 </SPAN
></P>
<P ID="LinkTarget_1510" style="margin-bottom:21px; margin-top:23px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:22pt; color:#000000"
>二、接口说明 </SPAN
></P>
<dl>
<DD ID="LinkTarget_1511">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>2.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:16pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>接口 </SPAN
></DD>

<DD ID="LinkTarget_1512" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>AboutBox </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: void AboutBox(); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：显示WebOffice版本信息 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值：  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1. AboutBox(); </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1519" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.2</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>AcceptAllRevisions </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long AcceptAllRevisions(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：接受当前文档所有修订  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:52px; text-indent:32px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0：接受修订成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零：接受修订失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.AcceptAllRevisions(); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1527" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.3</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>AddMenu </SPAN
><P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  形：AddMenu(LPCTSTR cMenuName, LPCTSTR cChildName, long iIndex, LPCTSTR cBindJSFun) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：（</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>） </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="text-align:justify; margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>示  例：   </SPAN
></P>
</DD>

</dl>
<P style="text-align:justify">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> 说明：添加菜单 </SPAN
></P>
<P style="text-align:justify">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> 参数： </SPAN
></P>
<P style="text-align:justify">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> cMenuName  : 主菜单名称(不可以为空) </SPAN
></P>
<P style="text-align:justify">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> cChildName : 子菜单名称(如为空，则表示非二级菜单) </SPAN
></P>
<P style="text-align:justify; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>iIndex     : 菜单的位置，低8位表示加到Menu的菜单项，如大于Menu的总数，则加到 </SPAN
></P>
<P style="text-align:justify; margin-left:117px; text-indent:7px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>Menu的最后一个菜单。 </SPAN
></P>
<P style="text-align:justify; margin-left:117px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>如iIndex最高位为1即(0x8000)则表示新建菜单（</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>）。 </SPAN
></P>
<P style="text-align:justify; margin-left:117px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>如iIndex的第2高位为1即(0x4000),表示在cMenuName菜单的前面加上分割线。 </SPAN
></P>
<P style="text-align:justify; margin-left:117px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>如iIndex的第3高位为1即(0x2000),表示在cChildName菜单的前面加上分割线。 </SPAN
></P>
<P style="text-align:justify; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>cBindJSFun : 绑定的javascript函数名  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1483" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.4</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>BookMarkOpt </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long BookMarkOpt(BSTR strBookMarks,long lType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：获取文档书签列表(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
</DD>

<DD ID="LinkTarget_1490" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.5</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>CloseDoc </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long CloseDoc(long blReqSaved); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：关闭当前文档 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  blReqSaved: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：关闭文档，不保存当前修改。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  1：关闭文档，保存当前修改。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  2：如果文档已经被修改,显示保存文档对话框,否则直接关闭。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  其它：关闭文档，保存当前修改。 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：  失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零： 成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> //关闭当前文档，不保存当前修改。 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.CloseDoc (0); </SPAN
></P>
<dl>
<DD ID="LinkTarget_1469" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.6</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ConvertToAip </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short ConvertToAip(short nAddOriFile,short nSupport) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：把当前通过</SPAN
><SPAN>
<SPAN style=" font-weight:normal"
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#0000FF; text-decoration:underline"
>LoadOriginalFile</SPAN
></SPAN
></SPAN>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>打开的原始文件直接转化成AIP文件。 </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>nAddOriFile:是否装载原始文件。 </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0：不装载。 </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非0：装载原始文件。 </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  nSupport: </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>是否以普通方式（即解析文档的书签）打开。0：不解析。非0：解析。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0：转化失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零：转化成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例：document.all.WebOffice1.ConvertToAip (1，1)； </SPAN
></P>
</DD>

<DD ID="LinkTarget_1437" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.7</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>CreateApp </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short CreateApp(BSTR strAppName); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：（</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>） </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1445" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.8</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>DelLocalFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long DelLocalFile(BSTR strFilePathName); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：删除本地文件 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  strFilePathName：本地文件的绝对路径。 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：  删除成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零： 删除失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> document.all.WebOffice1.DelLocalFile(&quot;c:\\111.doc&quot;); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1455" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.9</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ExcProtectSharing </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long ExcProtectSharing(BSTR strPassword,BSTR strWriteResPassword, short bReadOnlyRecommended,BSTR strSharingPassword); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1422" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.10</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ExcUnprotectSharing </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long ExcUnprotectSharing(BSTR strSharingPassword); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1414" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.11</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>FtpConnect </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long  FtpConnect(BSTR strURL, long lPort, BSTR strUser, BSTR strPwd);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：FTP相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1406" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.12</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>FtpDisConnect </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long  FtpDisConnect(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：FTP相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1398" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.13</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>FtpGetFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long  FtpGetFile(BSTR strRemoteFile, BSTR strLocalFile); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：FTP相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1363" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.14</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetDocumentObject </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: IDispatch* GetDocumentObject(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>获取文档对象的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>ActiveDocument</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>对象，此接口非常重要，基本所有的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>VBA</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功能都可以通过这个接口来实现。 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>ActiveDocument</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>对象的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>Dispatch</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>/*</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>以下的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>JavaScript</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>为采用</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>ActiveDocument</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>的方式直接操作</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>VBA</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>，向</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>DOC</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>文档的书签</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>中加入一个图片。</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>function AddPicture(strMarkName,strBmpPath,vType) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>在书签位置插入图片</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>, </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>strMarkName </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>书签的名称</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>strBmpPath  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>图片的路径</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>vType       </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>插入后的图片的样式，</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>5</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>为浮动在文字上面</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>AddPicture(&quot;test1&quot;,&quot;d:\\111.bmp&quot;,5); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>AddPicture(&quot;test1&quot;,&quot;d:\\111.bmp&quot;,128); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>*/ </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>function AddPicture(strMarkName,strBmpPath,vType) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>{ </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>//</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>定义一个对象，用来存储</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>ActiveDocument</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>对象</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>         </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>obj</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>; </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>         </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>obj</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> = new Object(document.all.WebOffice1.GetDocumentObject()); </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>         if(</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>obj</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> !=null){ </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>               </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> pBookMarks; </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>// VAB</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>接口获取书签集合</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pBookMarks = </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>obj</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>.Bookmarks; </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> pBookM; </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>// VAB</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>接口获取书签</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>strMarkName </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pBookM = pBookMarks(strMarkName); </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> pRange; </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>// VAB</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>接口获取书签</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>strMarkName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>Range</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>对象</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pRange = pBookM.Range; </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> pRangeInlines;  </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>// VAB</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>接口获取书签</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>strMarkName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>Range</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>对象的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>InlineShapes</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>对象</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pRangeInlines = pRange.InlineShapes; </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>var</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> pRangeInline;  </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>// VAB</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>接口通过</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>InlineShapes</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>对象向文档中插入图片</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pRangeInline = pRangeInlines.AddPicture(strBmpPath);   </SPAN
></P>
<P style="margin-left:0px; text-indent:75px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>//</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>设置图片的样式，</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>5</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>为浮动在文字上面</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   pRangeInline.ConvertToShape().WrapFormat.TYPE = vType; </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>                   delete </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>obj</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>;  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>   } </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10pt; color:#000000"
>} </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1326" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.15</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetFieldValue </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR GetFieldValue(BSTR strFieldName, BSTR strSheetName); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：获得书签位置的数值 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>strFieldName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：书签的名字</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>strSheetName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：预留字段（值为空）</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回书签的值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//获得书签的值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> var strFieldValue=document.all.WebOffice1.GetFieldValue(&quot;mark_1&quot;,&quot;&quot;) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1338" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.16</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetTempFilePath </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR GetTempFilePath(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：获得临时文件路径 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当前文件的临时路径 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> var strTempPath=document.all.WebOffice1.GetTempFilePath ()； </SPAN
></P>
</DD>

<DD ID="LinkTarget_1345" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.17</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetRevCount </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long GetRevCount(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1313" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.18</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetRevInfo </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>BSTR GetRevInfo(long lIndex, long lType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1305" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.19</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetBookMarkCount </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>long GetBookMarkCount(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1298" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.20</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>GetBookMarkInfo </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR GetBookMarkInfo(long lIndex, long lType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
</DD>

<DD ID="LinkTarget_1290" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.21</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HideMenuItem  </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>long HideMenuItem(long lMenuType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1256" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.22</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpInit </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpInit(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：初始化上传接口 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//上传前必须执行此方法  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.weboffice1.HttpInit(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1265" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.23</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpAddPostFile(BSTR strName, BSTR strFile); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：Http上传相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>)  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1273" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.24</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostBuffer </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpAddPostBuffer(BSTR strName, BSTR strRelateFile, BSTR pbBuffer, long lLen); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：Http上传相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>)  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1249" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.25</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostValue </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型:</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>long HttpAddPostValue(BSTR strName, long lValue); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：Http上传相关(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_1212" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.26</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostString </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpAddPostString(BSTR strName, BSTR strValue); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：添加要上传的表单域 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  strName:表单域的名称 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  strValue:表单域的值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//添加表单域,可多次执行此方法 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.HttpAddPostString(&quot;DocTitle&quot;, </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>myform.DocTitle.value); </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1225" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.27</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostCurrFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpAddPostCurrFile(String field, String newFileName); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：添加要上传的Word或者Excel文件 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>Field：要上传文件的id </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>newFielName：上传后的新文件名。该参数可以为空，系统将自动为文件命名 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.HttpAddPostCurrFile(&quot;DocContent&quot;,&quot;&quot;); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1234" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.28</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpAddPostCurrFile2 </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long HttpAddPostCurrFile2(BSTR strName) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：（</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>） </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1197" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.29</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>HttpPost </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR HttpPost(BSTR strHttpURL); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：将当前表单和文件数据提交到指定URL路径 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>strHttpURL:  处理表单和文件数据的文件</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>URL</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>路径  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> Succeed:上传成功 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> failed: 上传失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//相对路径 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>var returnValue=document.all.WebOffice1.HttpPost(&quot;../saveDoc.jsp&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//绝对路径 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>var </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>returnValue=document.all.WebOffice1.HttpPost(&quot;http://127.0.0.1/saveDoc.jsp&quot;</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>) </SPAN
></P>
</DD>

<DD ID="LinkTarget_1169" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.30</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>InsertFile </SPAN
><P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  形：short  InsertFile(LPCTSTR strFilePathName, short nCurPos) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>插入合并文件,和插入图片</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strFilePathName： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   文件或者图片的路径，可以是Http.或者Ftp路径 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>         nCurPos： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   位置和图片控制符。nCurPos 或者nCurPos -8 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   0: 当前位置 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   1: </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>文件开头 </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>2: </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>文件末尾 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>      如果第四位为1：表示插入的是图片</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>        </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：正确 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  其他：错误 </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件头部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,1);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件尾部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,2);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//当前光标位置  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,0); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件头部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,9);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件尾部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,10);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//当前光标位置  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,8); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1151" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.31</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>IsOpened </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long IsOpened(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：判断当前是否打开文件 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：表示当前未打开文档</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：表示已经打开文档</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WORD = 11, </SPAN
></P>
<P style="margin-left:29px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WORD = 11, </SPAN
></P>
<P style="margin-left:29px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_EXCEL = 12, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_PPT = 13, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_RTF = 14, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WPS = 21, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_PDF = 31, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_UNK = 127   </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>var isOpened=document.all.WebOffice1.IsOpened(); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1140" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.32</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>IsSaved </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long IsSaved(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：判断文件是否被修改 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：文件已被修改</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非零：文件未被修改</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>var isSaved=document.all.WebOffice1.IsSaved(); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1133" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.33</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>InsertFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long InsertFile(BSTR strFilePathName, short nCurPos); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>插入、合并文件或插入图片</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>strFilePathName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：文件或者图片的路径，可以是</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>Http.</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>或者</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>Ftp</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>路径</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>      nCurPos</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：位置和图片控制符。</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>nCurPos </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>或者</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>nCurPos -8 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>    0: </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当前位置</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>    1: </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>文件开头</SPAN
><SPAN style="font-family:'sans-serif', 'Lucida Console'; font-size:10pt; font-stretch:semi-condensed; color:#000000"
> </SPAN
></P>
<P style="margin-left:112px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>2: </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>文件末尾</SPAN
><SPAN style="font-family:'sans-serif', 'Lucida Console'; font-size:10pt; font-stretch:semi-condensed; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Lucida Console'; font-size:10pt; font-stretch:semi-condensed; color:#000000"
>       </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>如果第四位为</SPAN
><SPAN style="font-family:'sans-serif', 'Lucida Console'; font-size:10pt; font-stretch:semi-condensed; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>：表示插入的是图片</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>插入成功</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:44px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10pt; color:#000000"
>插入失败</SPAN
><SPAN style="font-family:'sans-serif', 'Lucida Console'; font-size:10pt; font-stretch:semi-condensed; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件头部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,1);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件尾部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,2);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//当前光标位置  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.doc&quot;,0); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件头部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,9);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//文件尾部  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,10);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//当前光标位置  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.InSertFile(&quot;http://XX.com/XX.jpg&quot;,8); </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1114" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.34</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>LoadOriginalFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long LoadOriginalFile(BSTR pcFileNameOrUrl, BSTR pcType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：新建、装载Office文档 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:32px; text-indent:43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>pcFileNameOrUrl: </SPAN
></P>
<P style="margin-left:32px; text-indent:43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>要装载文件的本地路径或者URL，值为空表示新建文档,如果是在Http的Web环境下，可以传相对路径.   </SPAN
></P>
<P style="margin-left:43px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>pcType: </SPAN
></P>
<P style="margin-left:88px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>doc:打开、新建Word文件 </SPAN
></P>
<P style="margin-left:88px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>xls:打开、新建Excel文件 </SPAN
></P>
<P style="margin-left:88px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>ppt:打开、新建PPT  文件 </SPAN
></P>
<P style="margin-left:88px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>wps:打开、新建WPS  文件 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> 0：失败 </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>          非0:成功 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> // 通过URL打开一个服务器文件，getdoc.asp代码见演示文件 </SPAN
></P>
<P style="text-indent:36px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.LoadOriginalFile(&quot;http://127.0.0.1/getdoc.asp?</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>id=8&quot;, &quot;doc&quot;); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 通过URL打开一个服务器文件，相对路径 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.LoadOriginalFile(&quot;/getdoc.asp?id=8&quot;, &quot;doc&quot;); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.LoadOriginalFile(&quot;./getdoc.asp?id=8&quot;, &quot;doc&quot;); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 新建Excel </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.LoadOriginalFile(&quot;&quot;, &quot;xls&quot;); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 通过Word打开本地文件 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.LoadOriginalFile(&quot;C:\\demo.doc&quot;, &quot;doc&quot;); </SPAN
></P>
<dl>
<DD ID="LinkTarget_1050" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.35</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>OpenFileDlg </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short OpenFileDlg(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：打开本地文件显示在</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>WebOffice</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>中 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>pcFileNameOrUrl</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：保存的文件路径  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//打开对话框 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.OpenFileDlg()； </SPAN
></P>
</DD>

<DD ID="LinkTarget_1046" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.36</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ProtectDoc </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long ProtectDoc(long lProOrUn, long lType, BSTR strPWD); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：文档保护 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lProOrUn：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:103px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：为保护文档</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:103px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：为解锁文档</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lType</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:100px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ 0 ：文档保护，只允许修订 </SPAN
></P>
<P style="margin-left:100px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ 1 ：文档保护，只允许批注 </SPAN
></P>
<P style="margin-left:100px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ 2 ：文档完全保护，不允许任何操作 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>strPWD：文档保护、解锁时所需设置的密码</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 保护文档，只允许修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.ProtectDoc(1, 0, &quot;12345&quot;);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 解锁文档 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.ProtectDoc(0, 0, &quot;12345&quot;);   </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_1031" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.37</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>PrintDoc </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long PrintDoc(long blShowDlg); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：打印当前文档 </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>blShowDlg</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：不显示打印对话框，直接打印</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非零：显示打印对话框</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:73px; text-indent:-43px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值: </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：打印失败</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非零：打印成功</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//显示打印对话框 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> document.all.WebOffice1.PrintDoc(1); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1021" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.38</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>PutSaved </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long PutSaved(boolean bSaved); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：设置当前文档的修改状态  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0: 处于修改状态 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  1: 处于保存状态 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置当前文档处于修改状态 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.PutSaved(0); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1011" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.39</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>Save </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long Save(); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>将文件保存原来位置，第一次保存时弹出对话框 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0：保存失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零：保存成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>document.all.WebOffice1.Save(); </SPAN
></P>
</DD>

<DD ID="LinkTarget_1000" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.40</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SaveTo </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SaveTo(BSTR pcFileNameOrUrl); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：将文件另存为至其它位置 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>pcFileNameOrUrl</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：保存的文件路径  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>：保存失败</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>非零：保存成功</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//将文件另存为 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SaveTo(“c:\\webOffice.doc”); </SPAN
></P>
</DD>

<DD ID="LinkTarget_983" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.41</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SaveAs  </SPAN
><P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SaveAs(BSTR strFileName, long dwFileFormat); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：保存文件到本地 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>strFileName: 要保存的文件路径和文件名 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>dwFileFormat:保存的文件类型 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 0  Word类型 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 2  Txt文件 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 6  Rtf文件 </SPAN
></P>
<P style="margin-left:100px; text-indent:12px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ -4143  Excel类型 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SaveAs(&quot;C:\\test.doc&quot;, 0);    // 另存为Word</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>文件 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SaveAs(&quot;C:\\test.txt&quot;, 2);    // 另存为Txt</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>文件 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SaveAs(&quot;C:\\test.rtf&quot;, 6);    // 另存为Rtf</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>文件 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SaveAs(&quot;C:\\test.xls&quot;, -4143); // 另存为Excel</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>文件 </SPAN
></P>
</DD>

<DD ID="LinkTarget_959" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.42</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetFieldValue </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SetFieldValue(BSTR strFieldName, BSTR strValue, BSTR strSheetName); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：添加书签，套红头模板 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strFieldName:书签的名字</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>strValue:书签的值，该处可以是个用于返回数据的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>URL</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>，用于套红头模板</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:40px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>strSheetName:命令的类型 </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>::ADDMARK::  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>添加书签</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> ::DELMARK::  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>删除书签</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> ::JPG::         </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>添加图片，可以利用这个来实现图片电子印章</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>::FILE::</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>       调用本地或者URL的文件设置书签值（套红头）</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 添加书签mark_1，并为它赋值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;, &quot;北京点聚&quot;, </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>&quot;::ADDMARK::&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 为已存在的书签mark_1赋值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;, &quot;电子签章&quot;,  &quot;&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 套本地红头 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;, &quot;c:\\test.doc&quot;, </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>&quot;::FILE::&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 套服务端红头1，getDoc.asp页用于返回要装载Word的二进制值，代码见演示</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>文件 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;, </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>&quot;http://127.0.0.1/getdoc.asp?id=8&quot;, &quot;::FILE::&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 套服务端红头2 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;,&quot;http://127.0.0.1/test.d</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>oc&quot;, &quot;::FILE::&quot;);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//添加图片电子印章 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetFieldValue(&quot;mark_1&quot;,&quot;http://127.0.0.1/seal.b</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>mp&quot;, &quot;::JPG::&quot;); </SPAN
></P>
</DD>

<DD ID="LinkTarget_945" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.43</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetTrackRevisions </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SetTrackRevisions(long lValue); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：修订文档 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lValue:文档修订状态 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 1: 开始修订文档 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 2: 进入非留痕状态 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 4:接受当前修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 开始修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetTrackRevisions(1);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 接受修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetTrackRevisions(4);   </SPAN
></P>
</DD>

<DD ID="LinkTarget_901" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.44</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ShowRevisions </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long ShowRevisions(long nNewValue); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：显示、隐藏修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>nNewValue:要保存的文件路径和文件名 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 1:显示修订 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  └ 0:隐藏修订 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.ShowRevisions(0);  // 隐藏修订 </SPAN
></P>
</DD>

<DD ID="LinkTarget_911" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.45</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetCurrUserName  </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SetCurrUserName(BSTR strCurrUserName); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：设置当前编辑Word、Excel的用户名,主要用于修订文档，标识不同人进行的不同操作 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strCurrUserName：当前编辑人的用户名 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  示  例：document.all.WebOffice1.SetCurrUserName(&quot;张三&quot;);  </SPAN
></P>
<dl>
<DD ID="LinkTarget_917" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.46</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetToolBarButton2 </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short SetToolBarButton2(VARIANT lIndex, VARIANT lID, VARIANT lControl); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>设置所有菜单项或者菜单项按钮的隐藏和现实 </SPAN
></P>
<P style="margin-left:0px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lIndex：要显示隐藏的元素名称。根据Word/Excel 的不同版本,可能有部分不同 </SPAN
></P>
<P style="margin-left:40px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ Standard：常用工具条 </SPAN
></P>
<P style="margin-left:40px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ Formatting：格式化工具条 </SPAN
></P>
<P style="margin-left:40px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ Menu Bar：菜单栏 </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>          当lIndex为0的时候,lID代表的是按钮的ID数值，关于各按钮的ID值，请参照附件。 </SPAN
></P>
<P style="margin-left:28px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lID：要操作的菜单元素的位置 </SPAN
></P>
<P style="margin-left:167px; text-indent:-94px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lControl：按钮状态控制，按位控制，如该值为1时，它的二进制为0001，表示该菜单元素是显示但不可用 </SPAN
></P>
<P style="margin-left:140px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第一位为：是否显示。0：隐藏；1：显示 </SPAN
></P>
<P style="margin-left:140px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第二位为：是否可用。0：不可用；1：可用。 </SPAN
></P>
<P style="margin-left:140px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第三位为：工具栏和菜单栏是否恢复到默认状态。0：不恢复；1：恢复。 </SPAN
></P>
<P style="margin-left:140px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第四位为：是否隐藏整个菜单栏或工具栏，1为隐藏，0为显示 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 常用工具栏上的新建按钮 显示但不可用 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all. WebOffice1.SetToolBarButton2(&quot;Standard&quot;,1,1); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 常用工具栏上的打开按钮 隐藏。  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all. WebOffice1.SetToolBarButton2(&quot;Standard&quot;,2,0); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 恢复常用工具栏为初始状态  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all. WebOffice1.SetToolBarButton2(&quot;Standard&quot;,1,4); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 格式工具栏上的格式按钮 显示但不可用  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all. WebOffice1.SetToolBarButton2(&quot;Formatting&quot;,1,1); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 恢复格式工具栏为初始状态 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all. WebOffice1.SetToolBarButton2(&quot;Formatting&quot;,1,4); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 菜单栏文件选项，显示但不可用。  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetToolBarButton2(&quot;Menu Bar&quot;,1,1); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 菜单栏文件选项，显示但不可用。  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetToolBarButton2(&quot;Menu Bar&quot;,1,1); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 隐藏整个菜单栏（如果需要隐藏之后再显示，请设置第三个参数为11） </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetToolBarButton2(&quot;Menu Bar&quot;,1,8); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 隐藏整个格式工具栏（如果需要隐藏之后再显示，请设置第三个参数为11） </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetToolBarButton2(&quot;Formatting&quot;,1,8); </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>// 隐藏整个常用工具栏（如果需要隐藏之后再显示，请设置第三个参数为11） </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetToolBarButton2(&quot;Standard&quot;,1,8); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_864" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.47</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetCurrTime </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short SetCurrTime(BSTR dateAndTime); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：设置客户端的修订时间，防止客户端和服务端的时间误差 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>dateAndTime：参数的形式必须为 yyyy-mm-dd hh-mm-ss的形式 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值：  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetCurrTime(&quot;2006-02-07 11:11:11&quot;);  </SPAN
></P>
</DD>

<DD ID="LinkTarget_836" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.48</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetKeyCtrl </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SetKeyCtrl(long lCtrl, long lChar, long lType); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：屏蔽、运行Office的快捷键 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>lCtrl：要屏蔽、运行的快捷键的值。 </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>Ctrl=512   Shift=256   Alt=1024 </SPAN
></P>
<P style="margin-left:88px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例：Ctrl + S = 512 + 83 (大写S的ASCII码值) = 595 </SPAN
></P>
<P style="margin-left:88px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例：Ctrl + O = 512 + 79 = 591 </SPAN
></P>
<P style="margin-left:88px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例：Ctrl + Shift + E = 512 + 256 + 69 = 837 </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>    </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>注意：字母使用大写的ASCII码值 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   lChar：控制类型 </SPAN
></P>
<P style="margin-left:112px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ -1：屏蔽快捷键 </SPAN
></P>
<P style="margin-left:112px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└  1：执行快捷键命令 </SPAN
></P>
<P style="margin-left:84px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└  0：恢复快捷键 </SPAN
></P>
<P style="margin-left:84px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>└ lTyp：扩展接口，目前暂设为0 </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//屏蔽Ctrl + S  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetKeyCtrl(595,-1,0)  </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//屏蔽Ctrl + O </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetKeyCtrl(591,-1,0)    </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_818" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.49</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetSecurity </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long SetSecurity(long lFlag) </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>     设置文档安全选项 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>    lFlag：按位标记的控制开关。 </SPAN
></P>
<P style="margin-left:0px; text-indent:132px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0x01表示不允许打印</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当第一位为</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>时有效</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>)</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:117px; text-indent:15px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0x02表示不允许保存</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当第二位为</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>时有效</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:117px; text-indent:15px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0x04表示不允许复制</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当第三位为</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>时有效</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>)  </SPAN
></P>
<P style="margin-left:117px; text-indent:15px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0x08表示不允许拖动</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当第四位为</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>时有效</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:117px; text-indent:15px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>0x8000</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>表示清除开关</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>(</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>当最高位为</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>1</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>时有效</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>) </SPAN
></P>
<P style="margin-left:117px; text-indent:15px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值：  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//禁止打印 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x01);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//恢复允许打印 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x01 + 0x8000); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//禁止保存 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x02);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//恢复允许保存 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x02 + 0x8000); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//禁止复制 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x04);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//恢复允许复制 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x04 + 0x8000);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//禁止打印、保存、复制 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x01+0x02+0x04);  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//恢复允许打印、保存、复制 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>Object.SetSecurity(0x01+0x02+0x04+0x8000); </SPAN
></P>
</DD>

<DD ID="LinkTarget_791" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.50</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ShowDialog </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long ShowDialog(long dwIndex); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>     显示对话框 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>    dwIndex：对话框的ID数值，详细的数值列表请参照附件。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值：  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_800" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.51</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetValue </SPAN
><P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  形：short  SetValue(LPCTSTR strValue, LPCTSTR strName) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：设置Word、Excel文档基本信息，目前仅支持 只读和可写密码 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strValue：设置的基本信息的数值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>         strName：基本信息的标识，如只读密码的标识为&quot;::DOCPROP:PassWord&quot;可改密码的标识为&quot;::DOCPROP:WritePW&quot; </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：正确设置 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  -1：不支持此命令，请确定您的第二个参数为正确。 </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置当前文档的打开密码为”password” </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetValue(&quot;password&quot;,&quot;::DOCPROP:PassWord&quot;); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置当前文档的可写密码为”password” </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetValue(&quot;password&quot;,&quot;::DOCPROP: WritePW&quot;); </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_745" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.52</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>SetDocVariable </SPAN
><P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  形：short   SetDocVariable(LPCTSTR strVarName, LPCTSTR strValue, long lOpt) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：设置Word中的变量的值，更可以更新与此变量相关联的域。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strVarName </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   变量名称 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>         strValue </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   变量设置的数值 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>         lOpt </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>   一个按位操作的数字位， 第一位为1:  表示update域关联的 </SPAN
></P>
<P style="margin-left:252px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第二位为1:  表示如果没有这个变量则添加 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  1：正确设置 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  0：错误 </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置变量 DocName的值为&quot;文档名称&quot;，如不存在DocName的变量则返回 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetDocVariable(&quot;DocName&quot;,&quot;文档名称&quot;,0); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置变量 DocName的值为&quot;文档名称&quot;，如不存在DocName的变量则添加 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetDocVariable(&quot;DocName&quot;,&quot;文档名称&quot;,2); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>//设置变量 DocName的值为&quot;文档名称&quot;，并更新DocName所关联的域 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.SetDocVariable(&quot;DocName&quot;,&quot;文档名称&quot;,1); </SPAN
></P>
</DD>

<DD ID="LinkTarget_735" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.53</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>long UnProtectDoc(BSTR strPwd) </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long UnProtectDoc(BSTR strPwd); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能：解除当前文档保护 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数：strPwd 文档保护时所设置的密码 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>0：解锁成功 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  非零：解锁失败 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>document.all.WebOffice1.UnProtectDoc(“12345”); </SPAN
></P>
<P style="margin-left:56px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_727" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.1.54</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>ZipFile </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: short ZipFile(BSTR cSourceFile, BSTR cAimFile,long wFileType,long bEnc); </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>功  能： 压缩文档（</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>保留</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>） </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>参  数： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>返回值： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>示  例： </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_726">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>2.2</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:16pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>属性 </SPAN
></DD>

<DD ID="LinkTarget_710" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.2.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>DocType </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long DocType; </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说  明：文件类型，只读 </SPAN
></P>
<P style="margin-left:0px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>数  值：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:41px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WORD = 11, </SPAN
></P>
<P style="margin-left:29px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WORD = 11, </SPAN
></P>
<P style="margin-left:29px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_EXCEL = 12, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_PPT = 13, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_RTF = 14, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_WPS = 21, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_PDF = 31, </SPAN
></P>
<P style="margin-left:41px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>FILE_TYPE_UNK = 127   </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
</DD>

<DD ID="LinkTarget_705" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.2.2</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
> Version </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR Version; </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说  明：打开文件的版本号，只读 </SPAN
></P>
<P style="margin-left:0px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>数  值：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_699" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.2.3</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
> AppVersion </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: BSTR Version; </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说  明：打开文件的版本号，只读 </SPAN
></P>
<P style="margin-left:0px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>数  值：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
></P>
</DD>

<DD ID="LinkTarget_689" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.2.4</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
> OptionFlag </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: long OptionFlag; </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说  明：系统标志位，可读写。此属性比较重要，可以作为各种控制开关。  </SPAN
></P>
<P style="margin-left:0px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>数  值：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:56px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>OPTIONFLAG_WORD_07SAVETO03 0x0001 </SPAN
></P>
<P style="margin-left:56px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>OPTIONFLAG_EXCEL_07SAVETO03 0x0002 </SPAN
></P>
<P style="margin-left:56px; text-indent:29px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>OPTIONFLAG_HTTPSAVEENC  0x0004 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<dl>
<DD ID="LinkTarget_674">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>2.3</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:16pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:16pt; color:#000000"
>事件 </SPAN
></DD>

<DD ID="LinkTarget_675" style="margin-left:72px; text-indent:-71px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>2.3.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:12pt; font-style:italic; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>NotifyCtrlReady </SPAN
><P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原  型: </SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>void NotifyCtrlReady();</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说  明：当控件准备完毕后触发，一般在这个事件中完成初始化的操作。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P ID="LinkTarget_637" style="margin-bottom:21px; margin-top:23px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:22pt; color:#000000"
>三、ASP例子说明 </SPAN
></P>
<dl>
<DD ID="LinkTarget_638" style="margin-left:65px; text-indent:-36px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>3.1</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.5pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>Access数据库结构 </SPAN
></DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>表doc </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>======================================== </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>id   自动编号 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>DocID  文本（10） </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>DocTitle 文本（10）  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>DocType  文本（15）  </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>DocData  日期/时间 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>DocContent OLE 对象 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>======================================== </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>说明：DocContent为上传的Office文档的数据，为二进制数据类型，如果使用SQLServer请改为Image类型。 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl>
<DD ID="LinkTarget_650" style="margin-left:65px; text-indent:-36px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>3.2</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.5pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>演示程序主要页面说明 </SPAN
></DD>

</dl>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> config.asp 取得服务器的项目文件目录，赋值给Application对象，供接口调用 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> docEidt.asp   调用weboffice控件在线编辑word，并提交给savedoc.jsp页面上传保存word文档 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> saveDoc.asp  保存表单元素和上传的word文件 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> getDoc.asp 取得数据库中的记录并返回给调用它的页面 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> debug.htm 用于调试数据传送到saveDoc.asp页 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> template  用于存放红头文件的模板 </SPAN
></P>
<dl>
<DD ID="LinkTarget_657" style="margin-left:65px; text-indent:-36px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>3.3</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.5pt; font-weight:bold; color:#000000"
> </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>开发必读 </SPAN
></DD>

</dl>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>1) 调用控件的时候尽量在控件ID前加“document.all”，如： </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>document.all.WebOffice1 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> 2) Javascirpt区分大小写，使用时请注意。 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> 3) WebOffice控件为VC++6编写，控件的所有方法和参数区分大小写，请严格参考本手册。 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> 4) </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>在本控件的演示程序中，有个</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>debug.hml</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>文件用于测试表单元素和文件上传。</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P ID="LinkTarget_601" style="margin-bottom:21px; margin-top:23px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:22pt; color:#000000"
>四、FAQ </SPAN
></P>
<P ID="LinkTarget_602" style="text-align:justify; margin-bottom:17px; margin-top:17px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>4.1 如何把文件直接上传到服务器 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>   </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  WebOffice通过Http协议实现文件直接上传到服务器，原理见附件一《WebOffice文件Http上传原理》 </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>  </SPAN
></P>
<P ID="LinkTarget_597" style="margin-bottom:21px; margin-top:23px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:22pt; color:#000000"
>五、附录 </SPAN
></P>
<P ID="LinkTarget_598" style="text-align:justify; margin-bottom:17px; margin-top:17px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:12pt; color:#000000"
>5.1 WebOffice文件Http上传原理 </SPAN
></P>
<TABLE style="margin-right:120px; margin-left:120px">
<TBODY>
<TR>
<TD style="border-style:solid; border-color:#000000; border-width:1px">
<P style="text-align:center; margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
>WebOffice</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>文件</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
>Http</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>上传原理分析</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="text-align:center; margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>点聚WebOffice控件使用了自身的文件Http上传接口实现文件和表单域的上传保存，本文将简要介绍该上传方式的原理和使用方法。注：点聚WebOffice的上传接口和AIP是一致的。 </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>原理</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>因为Web页面上的WebOffice打开的文件无法随表单记录提交到处理页面，所以我们把文件模拟成表单的文件域&lt;input type=file …&gt;，通过接口把文件和表单元素发送到保存记录的页面（过程类似表单的提交）。 </SPAN
></P>
<P style="margin-left:56px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>主要上传接口：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<dl style="margin-right:120px">
<DD style="margin-bottom:0px; margin-top:0px; margin-left:56px; text-indent:-27px">
<SPAN style="font-family:'sans-serif', 'Wingdings'; font-size:10.9pt; color:#000000"
></SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> HttpInit(); </SPAN
><P style="margin-left:31px; text-indent:24px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>该方法用于初始化上传接口，不需要设置参数</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

<dl style="margin-right:120px">
<DD style="margin-bottom:0px; margin-top:0px; margin-left:56px; text-indent:-26px">
<SPAN style="font-family:'sans-serif', 'Wingdings'; font-size:10.9pt; color:#000000"
></SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> HttpAddPostString(String FieldName, String someValue); </SPAN
><P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>添加要提交的表单域</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>, FieldName</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>是要上传表单域名称，</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>someValue</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>是表单域值</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例一：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:59px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>HttpAddPostString(&quot;username&quot;, &quot;zhangSan&quot;); </SPAN
></P>
<P style="margin-left:59px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>它类似域表单域的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:59px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>&lt;input type=text name=username value=zhangSan&gt; </SPAN
></P>
</DD>

</dl>
</dl>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>  </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例二：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>   HttpAddPostString(&quot;username&quot;, WebForm.username.value); </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>   …. </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>   &lt;form name= WebForm &gt; </SPAN
></P>
<P style="margin-left:59px; text-indent:44px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>&lt;input type=text name=username value=zhangSan&gt; </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>   &lt;/form&gt; </SPAN
></P>
<P style="margin-left:59px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>注意：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>如果使用点聚上传接口，那么</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>form</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>表单里的表单域不会被提交到处理页面。需要手工添加到上传接口（</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>HttpAddPostString</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>接口），然后通过控件发送到处理页面。例二使用了“</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>WebForm.username.value</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>”获取表单域值。</SPAN
></P>
<P style="margin-left:84px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<dl style="margin-right:120px">
<DD style="margin-bottom:0px; margin-top:0px; margin-left:56px; text-indent:-26px">
<SPAN style="font-family:'sans-serif', 'Wingdings'; font-size:10.9pt; color:#000000"
></SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> HttpAddPostCurrFile(String fileName, String ReName); </SPAN
><P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>添加当前</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>WebOffice</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>编辑的文件给上传接口，该接口把文件模拟到成一个表单的文件域，并提交到处理页面。</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>例一：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>HttpAddPostCurrFile(&quot;AipFile&quot;, &quot;&quot;); </SPAN
></P>
<P style="margin-left:84px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>该接口模拟表单文件域如下：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>&lt;input type=file name=AipFile &gt; </SPAN
></P>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#FF0000"
>注意：</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>第二个参数为空表示控件自动为文件命名，如：</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
>dj_temp.aip</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>，如果需要重命名可以在第二个参数指明文件名称，也可在保存页面指定文件名称。</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DD>

<DD style="margin-bottom:0px; margin-top:0px; margin-left:56px; text-indent:-26px">
<SPAN style="font-family:'sans-serif', 'Wingdings'; font-size:10.9pt; color:#000000"
></SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> HttpPost(String url); </SPAN
><P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>执行上传操作将文件和表单域提交到url的页面进行保存操作，并获取url页面返回的执行结果 （是否成功,可以根据这个结果来获取服务器端执行的结果）。 </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>url支持绝对路径和相对路径。 </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>绝对路径,例如：</SPAN
><A href="http://192.168.0.1/savedoc.asp">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>http://192.168.0.1/savedoc.asp</SPAN
></A>
</P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>相对路径要以“./”或者“../”开头。例如：./savedoc.asp </SPAN
></P>
</DD>

</dl>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>完整的上传接口演示</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>function SaveDoc() { </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> var returnValue;     // </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>保存页面的返回值</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> document.all.WebOffice1.HttpInit(); // </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>初始化</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>Http</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>引擎</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>// </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>添加相应的</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>Post</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>元素</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> document.all.WebOffice1.HttpAddPostString(&quot;username&quot;, WebForm. username.value); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> // </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>添加上传文件</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:56px; text-indent:-27px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> document.all.WebOffice1.HttpAddPostCurrFile(&quot;AipFile &quot;,&quot;&quot;);  </SPAN
></P>
<P style="margin-left:56px; text-indent:-27px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> // </SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>提交上传文件</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> </SPAN
></P>
<P style="margin-left:56px; text-indent:-27px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> returnValue = document.all.WebOffice1.HttpPost(&quot;../saveDoc.jsp&quot;); </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> if(&quot;true&quot; == returnValue){ </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>  alert(&quot;</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>文件上传成功</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>&quot;);  </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> } else  { </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>  alert(&quot;</SPAN
><SPAN style="font-family:'sans-serif', 'SimSun'; font-size:9pt; color:#319A63"
>文件上传失败</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>&quot;) </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
> } </SPAN
></P>
<P style="margin-left:28px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:9pt; color:#319A63"
>} </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
<P style="margin-left:0px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
>关于保存</SPAN
><SPAN style="font-family:'sans-serif', 'Arial'; font-size:10.9pt; font-weight:bold; color:#000000"
> </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.5pt; color:#000000"
>WebOffice上传接口将数据流以Http方式提交到保存页面，至于对数据处理就和普通的文件上传处理一样了，具体代码参考附件（asp和jsp的实现）。 </SPAN
></P>
<P style="margin-left:28px; text-indent:28px">
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</TD>
</TR>
</TBODY>
</TABLE>
<P>
<SPAN style="font-family:'sans-serif', 'SimSun'; font-size:10.9pt; color:#000000"
> </SPAN
></P>
</DIV>
</BODY>
</HTML>
